package com.willcode.demo.registerbean.method4import;

import com.willcode.demo.registerbean.method4import.impl.Demo4Import;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * 客户端调用类
 * @author Will
 */
@RunWith(SpringRunner.class)
@SpringBootTest
public class ClientSide {

    @Autowired
    private Demo4Import demo4Import;

    @Test
    public void run() {
        System.out.println("demo4Import值-" + demo4Import);
        String s = demo4Import.testDemo("测试@Import注册");
        System.out.println(s);
    }

}